package com.feihao.dao;


import com.feihao.domain.User;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface UserDao {
    /*
        登录方法
     */
    @Select("SELECT * FROM t_user WHERE username=#{username} AND password=#{password}")
    public abstract List<User> login(User user);
}
